Method: createMacLock

Create a MAC lock to limit a device to a single switch port.

Parameters

Name Type Description
mac string MAC address of the end-system
switchIp string IP address of the switch to which the end-system is limited
switchPort string Switch port to which the end-system is limited
reject boolean Set to true to reject the authentication request if the end system tries to authentication on a different switch or port
policy string Policy that applies if the end-system tries to authenticate to a different switch or port

Returns

The operation returns an integer error code.

Example

Execute the following web service with a browser:

https://192.168.30.34:8443/axis/services/NACWebService/createMacLock?mac=00:11:22:33:44:55&switchIp=192.168.10.10&switchPort=1&reject=true